[INFO] cloning repository https://github.com/ratnadeepb/Rust_async_demos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ratnadeepb/Rust_async_demos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratnadeepb%2FRust_async_demos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratnadeepb%2FRust_async_demos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c898ae6b6f0ac04d77990c142ce7fcd16f339d85
[INFO] building ratnadeepb/Rust_async_demos against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratnadeepb%2FRust_async_demos" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ratnadeepb/Rust_async_demos on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ratnadeepb/Rust_async_demos
[INFO] finished tweaking git repo https://github.com/ratnadeepb/Rust_async_demos
[INFO] tweaked toml for git repo https://github.com/ratnadeepb/Rust_async_demos written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/ratnadeepb/Rust_async_demos already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: /workspace/builds/worker-5/source/tokio-oneshot-joinhandle/Cargo.toml: unused manifest key: dependencies.tokio.feature
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c059e1049304e3c72d465dcfaccf34e264590552495d015cc2cb27203964c391
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c059e1049304e3c72d465dcfaccf34e264590552495d015cc2cb27203964c391", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c059e1049304e3c72d465dcfaccf34e264590552495d015cc2cb27203964c391", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c059e1049304e3c72d465dcfaccf34e264590552495d015cc2cb27203964c391", kill_on_drop: false }`
[INFO] [stdout] c059e1049304e3c72d465dcfaccf34e264590552495d015cc2cb27203964c391
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c86c8de789c77ffe5fbd885a2c7a7140a982f7493a31dbfaca776fca822d3dce
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c86c8de789c77ffe5fbd885a2c7a7140a982f7493a31dbfaca776fca822d3dce", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/tokio-oneshot-joinhandle/Cargo.toml: unused manifest key: dependencies.tokio.feature
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling futures-sink v0.3.15
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling bytes v0.6.0
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling async-task v4.0.2
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling weezl v0.1.1
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling bytemuck v1.4.1
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling parser-combinators v0.1.0 (https://github.com/sergey-melnychuk/rust-parser-combinators?tag=0.1.3#9f87600d)
[INFO] [stderr]    Compiling timer v0.1.0 (/opt/rustwide/workdir/timer)
[INFO] [stderr]    Compiling parser-combinator v0.1.0 (/opt/rustwide/workdir/parser-combinator)
[INFO] [stderr]    Compiling thread-demo v0.1.0 (/opt/rustwide/workdir/thread-demo)
[INFO] [stderr]    Compiling crossbeam-utils v0.8.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stdout] warning: unused variable: `handle1`
[INFO] [stdout]   --> thread-demo/src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let handle1 = thread::spawn(move || {
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `the_letter_a`
[INFO] [stdout]   --> parser-combinator/src/lib.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn the_letter_a(input: &str) -> Result<(&str, ()), &str> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling num-bigint v0.3.0
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tokio v0.3.7
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling instant v0.1.7
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling gif v0.11.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling aho-corasick v0.7.14
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling futures-lite v1.11.1
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling async-channel v1.5.1
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tiff v0.5.0
[INFO] [stderr]    Compiling png v0.16.7
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.11
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling polling v2.0.1
[INFO] [stderr]    Compiling nb-connect v1.0.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling backtrace v0.3.53
[INFO] [stderr]    Compiling sha-1 v0.9.1
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.0
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling regex v1.4.1
[INFO] [stderr]    Compiling async-executor v1.3.0
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling async-io v1.1.10
[INFO] [stderr]    Compiling num-complex v0.3.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling testing-mio v0.1.0 (/opt/rustwide/workdir/testing-mio)
[INFO] [stderr]    Compiling mio-http v0.1.0 (/opt/rustwide/workdir/mio-http)
[INFO] [stderr]    Compiling crossbeam v0.8.0
[INFO] [stderr]    Compiling async-global-executor v1.3.0
[INFO] [stderr]    Compiling crossbeam-parallel-pipeline v0.1.0 (/opt/rustwide/workdir/crossbeam-parallel-pipeline)
[INFO] [stderr]    Compiling async-std v1.6.5
[INFO] [stderr]    Compiling env_logger v0.8.1
[INFO] [stderr]    Compiling num v0.3.0
[INFO] [stderr]    Compiling multi-threaded-http v0.1.0 (/opt/rustwide/workdir/multi-threaded-http)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> multi-threaded-http/src/pool.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     thread::{self, JoinHandle},
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout]  --> multi-threaded-http/src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::debug;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Events`, `Interest`, `Poll`, `TcpListener`
[INFO] [stdout]  --> multi-threaded-http/src/main.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     net::{TcpListener, TcpStream},
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 6 |     Events, Interest, Poll, Token,
[INFO] [stdout]   |     ^^^^^^  ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `as_string`, `parse_http_request`
[INFO] [stdout]  --> multi-threaded-http/src/main.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     http::{as_string, parse_http_request, Header, Request, Response},
[INFO] [stdout]   |            ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pool::ThreadPool`
[INFO] [stdout]   --> multi-threaded-http/src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use pool::ThreadPool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `Write`, `collections::HashMap`
[INFO] [stdout]   --> multi-threaded-http/src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     collections::HashMap,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     io::{Read, Write},
[INFO] [stdout]    |          ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> multi-threaded-http/src/main.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn handler(req: Request) -> Response {
[INFO] [stdout]    |    -------                  ^^^^^^^^ expected struct `Response`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multi-threaded-http`
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> multi-threaded-http/src/pool.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Task(Runnable),
[INFO] [stdout]    |     -------------- fn(Box<(dyn FnOnce() + Send + 'static)>) -> Job {Job::Task} defined here
[INFO] [stdout] ...
[INFO] [stdout] 57 |             self.sender.send(Job::Task).unwrap(); // sending Stop to all threads in the pool
[INFO] [stdout]    |                              ^^^^^^^^^ expected enum `Job`, found fn item
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Job`
[INFO] [stdout]            found fn item `fn(Box<(dyn FnOnce() + Send + 'static)>) -> Job {Job::Task}`
[INFO] [stdout] help: use parentheses to instantiate this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 57 |             self.sender.send(Job::Task(_)).unwrap(); // sending Stop to all threads in the pool
[INFO] [stdout]    |                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "c86c8de789c77ffe5fbd885a2c7a7140a982f7493a31dbfaca776fca822d3dce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c86c8de789c77ffe5fbd885a2c7a7140a982f7493a31dbfaca776fca822d3dce", kill_on_drop: false }`
[INFO] [stdout] c86c8de789c77ffe5fbd885a2c7a7140a982f7493a31dbfaca776fca822d3dce
